home *** CD-ROM | disk | FTP | other *** search
- Path: dmu.ac.uk!se4pm
- From: se4pm@dmu.ac.uk (Piers Myers)
- Newsgroups: comp.lang.tcl,comp.lang.c,comp.lang.c++,comp.databases.sybase,comp.databases.oracle,comp.databases.informix,comp.databases.oracle
- Subject: Re: realloc equivalent in C++
- Followup-To: comp.lang.tcl,comp.lang.c,comp.lang.c++,comp.databases.sybase,comp.databases.oracle,comp.databases.informix,comp.databases.oracle
- Date: 12 Feb 1996 12:31:18 GMT
- Organization: De Montfort University, Leicester
- Message-ID: <4fnbum$scm@macondo.dmu.ac.uk>
- References: <4fecgc$ar9@engr.orst.edu> <DMJ15v.13C@falcon.daytonoh.attgis.com> <4fgir1$pri@theory.tc.cornell.edu> <311BDA8A.1462@ctp.com>
- NNTP-Posting-Host: kestrel.cms.dmu.ac.uk
- X-Newsreader: TIN [version 1.2 PL2]
-
- In article <311BDA8A.1462@ctp.com>, Ian Flint (iflin@ctp.com) writes:
- > Honbo Zhou wrote:
- > >
- > > Is there anything in C++ equvalent to realloc in C which can be used
- > > to increase allocated memory? Can't find this even in C++ books which
- > > talk about memory management specifically. Thanks. Honbo
-
- > Yes. realloc.
-
- > - Ian Flint
-
- Yeah, but mixing C++'s new and the old C type alloc, realloc, etc is
- VERY bad! So don't do it!
-
- - Piers
-